GitHub Enhances Code Viewing with Consistent Tab-Width Settings
GitHub has rolled out a significant update to improve developer experience by ensuring consistent application of user-defined tab-width preferences across its platform. The change addresses longstanding inconsistencies in code rendering, particularly in Markdown-rendered content like READMEs and discussions.
Previously, tab-width settings were unreliable, causing code to display differently than expected. The update applies a global CSS fix, aligning tab sizes with user preferences wherever code appears—whether in preformatted text, code blocks, or other contexts. This enhancement focuses solely on code display and does not affect functionality.